<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a >封禁列表</a></li>

		</ul>
		<form class="well form-inline margin-top-20" method="post" action="{:url('Reflect/ureflect_block')}">

			关键字： 
            <input class="form-control" type="text" name="keyword" style="width: 200px;" value="{:input('request.keyword')}"
                   placeholder="请输入用户ID">
			<input type="submit" class="btn btn-primary" value="搜索">
		</form>				
		<form method="post" class="js-ajax-form" >
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th>用户(ID)</th>	
						<th>截止时间</th>
						<th>封禁次数</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="lists" item="vo">
					<tr>

						<td>{$vo['userinfo']['user_nickname']} ({$vo['uid']})</td>	
						<td><if condition="$vo['expiretime'] neq 0">{:date('Y-m-d H:i:s',$vo['expiretime'])}<else/>
								永久封禁
                            </if> </td>
						<td>{$vo['count']}</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>

		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>